package api

import (
	"github.com/gogf/gf/net/ghttp"

	"study_gf/app/model"
)

// var TestGet = new(model.TestInfo)

var Hello = helloAPI{}

type helloAPI struct {
	TestInfo model.TestInfo
}

// Index is a demonstration route handler for output "Hello World!".
func (*helloAPI) Index(r *ghttp.Request) {
	r.Response.Write(r.Get("map"))
}
